#include "algorithm.h"

Algorithm::Algorithm()
{
}

QDataStream & operator<< ( QDataStream & out, const Algorithm & algorithm )
{
    out << algorithm.name << algorithm.optimization << algorithm.dllPath << algorithm.helpPath;
    return out;
}

QDataStream & operator>> ( QDataStream & in, Algorithm & algorithm )
{
    in >> algorithm.name >> algorithm.optimization >> algorithm.dllPath >> algorithm.helpPath;
    return in;
}
